KERNELDIR := /root/linux_compile/allwinner_h3_core/linux
CURRENT_PATH := $(shell pwd)
obj-m := tft_hx8347g.o

build: kernel_modules

kernel_modules:
	$(MAKE) -Werror=implicit-function-declaration -C $(KERNELDIR) M=$(CURRENT_PATH) modules
clean:
	$(MAKE) -Werror=implicit-function-declaration -C $(KERNELDIR) M=$(CURRENT_PATH) clean